if exists (select 1
            from  sysobjects
           where  id = object_id('bd_sys_item')
            and   type = 'U')
   drop table bd_sys_item
go

/*==============================================================*/
/* Table: bd_sys_item                                           */
/*==============================================================*/
create table bd_sys_item (
   id                   int                  not null,
   bh                   varchar(50)          null,
   type_id              int                  null,
   name                 varchar(200)         null,
   constraint PK_BD_SYS_ITEM primary key (id)
)
go
